|
|
Thorsten Froehlich <tho### [at] trfde> wrote in message
news:3b6d4886@news.povray.org...
> In article <3b6d2f36@news.povray.org> , Warp <war### [at] tagpovrayorg> wrote:
>
> For example, would you consider the legal code ISO C/C++ "long I =
'abcd';"
> worth a (by default on) warning?
Yes, definitely. Although it's legal, it is implementation-defined
(i.e. the characters are mapped into the execution character set
in the implementation-defined manner). BTW, that's the reason
behind the MKFOURCC macro in Windows.h.
That's especially important for POV-Ray. Just imagine porting code with
that constant to, say, ancient Honeywell Bull with 36-bit chars...
Post a reply to this message
|
|